package models

import "gorm.io/gorm"

type User struct {
	Name     string `json:"name"`
	Password string `json:"password"`
	gorm.Model
}
type UserRole struct {
	Uid int `json:"uid"`
	Rid int `json:"rid"`
	gorm.Model
}

type Role struct {
	RoleName string `json:"role_name"`
	gorm.Model
}
type RoleNode struct {
	Rid int `json:"rid"`
	Nid int `json:"nid"`
	gorm.Model
}

type Node struct {
	NodeName string `json:"node_name"`
	gorm.Model
}
type Order struct {
	OrderName string `json:"order_name"`
	gorm.Model
}
type OdeerL struct {
	OrderNamel string `json:"order_namel"`
	gorm.Model
}
